﻿using System;
using System.Globalization;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLogic.ClassFactory;
using IssueCommon;
using ValidateCommon;
using Common;
using System.Text;

namespace RichECMS.ServerPages.Section.Base
{
    public class SectionBase : Util.BasePage.BasePage
    {
        public static string RebuildDataLabel()
        {
            StringBuilder stringbuilderDataModle = new StringBuilder();
            stringbuilderDataModle.Append("<?xml version=\"1.0\"?>\r\n");
            stringbuilderDataModle.Append("<datalabel>\r\n");
            stringbuilderDataModle.Append("    <infotitle sourcelabel=\"标题\"></infotitle>\r\n");
            stringbuilderDataModle.Append("    <infoclass sourcelabel=\"类别\"></infoclass>\r\n");
            stringbuilderDataModle.Append("    <infosubtitle sourcelabel=\"副标题\"></infosubtitle>\r\n");
            stringbuilderDataModle.Append("    <infoArticleMan sourcelabel=\"编撰人\"></infoArticleMan>\r\n");
            stringbuilderDataModle.Append("    <infoimage sourcelabel=\"展示图\"></infoimage>\r\n");
            stringbuilderDataModle.Append("    <infodescription sourcelabel=\"描述\"></infodescription>\r\n");
            stringbuilderDataModle.Append("    <infosummary sourcelabel=\"简介\"></infosummary>\r\n");
            stringbuilderDataModle.Append("    <infocontent sourcelabel=\"详细内容\"></infocontent>\r\n");
            stringbuilderDataModle.Append("    <infosource sourcelabel=\"来源\"></infosource>\r\n");
            stringbuilderDataModle.Append("    <infoauthor sourcelabel=\"作者\"></infoauthor>\r\n");
            stringbuilderDataModle.Append("    <infoalltop sourcelabel=\"全局置顶\"></infoalltop>\r\n");
            stringbuilderDataModle.Append("    <infosectiontop sourcelabel=\"频道置顶\"></infosectiontop>\r\n");
            stringbuilderDataModle.Append("    <infoalltj sourcelabel=\"全局推荐\"></infoalltj>\r\n");
            stringbuilderDataModle.Append("    <infosectiontj sourcelabel=\"频道推荐\"></infosectiontj>\r\n");
            stringbuilderDataModle.Append("    <infoscrollnews sourcelabel=\"滚动新闻\"></infoscrollnews>\r\n");
            stringbuilderDataModle.Append("    <infoverify sourcelabel=\"审核\"></infoverify>\r\n");
            stringbuilderDataModle.Append("    <customcontrol>\r\n");
            stringbuilderDataModle.Append("        <sex sourcelabel=\"性别\" visable=\"false\"></sex>\r\n");
            stringbuilderDataModle.Append("        <birthday sourcelabel=\"出生日期\" visable=\"false\"></birthday>\r\n");
            stringbuilderDataModle.Append("        <professional sourcelabel=\"专业\" visable=\"false\"></professional>\r\n");
            stringbuilderDataModle.Append("        <skill sourcelabel=\"专长\" visable=\"false\"></skill>\r\n");
            stringbuilderDataModle.Append("        <placeunit sourcelabel=\"所在单位\" visable=\"false\"></placeunit>\r\n");
            stringbuilderDataModle.Append("        <jobtitle sourcelabel=\"职务职称\" visable=\"false\"></jobtitle>\r\n");
            stringbuilderDataModle.Append("        <city sourcelabel=\"城市\" visable=\"false\"></city>\r\n");
            stringbuilderDataModle.Append("        <zipcode sourcelabel=\"邮政编码\" visable=\"false\"></zipcode>\r\n");
            stringbuilderDataModle.Append("        <tel sourcelabel=\"电话\" visable=\"false\"></tel>\r\n");
            stringbuilderDataModle.Append("        <fax sourcelabel=\"传真\" visable=\"false\"></fax>\r\n");
            stringbuilderDataModle.Append("        <email sourcelabel=\"电子邮箱\" visable=\"false\"></email>\r\n");
            stringbuilderDataModle.Append("        <industry sourcelabel=\"所属行业\" visable=\"false\"></industry>\r\n");
            stringbuilderDataModle.Append("        <scale sourcelabel=\"规模\" visable=\"false\"></scale>\r\n");
            stringbuilderDataModle.Append("        <address sourcelabel=\"通讯地址\" visable=\"false\"></address>\r\n");
            stringbuilderDataModle.Append("        <mobile sourcelabel=\"手机\" visable=\"false\"></mobile>\r\n");
            stringbuilderDataModle.Append("        <contacepeople sourcelabel=\"联系人\" visable=\"false\"></contacepeople>\r\n");
            stringbuilderDataModle.Append("        <weburl sourcelabel=\"网址\" visable=\"false\"></weburl>\r\n");
            stringbuilderDataModle.Append("        <selftype sourcelabel=\"类型\" visable=\"false\"></selftype>\r\n");
            stringbuilderDataModle.Append("        <finallycompany sourcelabel=\"完成企业\" visable=\"false\"></finallycompany>\r\n");
            stringbuilderDataModle.Append("        <finallypeople sourcelabel=\"完成人\" visable=\"false\"></finallypeople>\r\n");
            stringbuilderDataModle.Append("        <contaceunit sourcelabel=\"联系单位\" visable=\"false\"></contaceunit>\r\n");
            stringbuilderDataModle.Append("        <maturity sourcelabel=\"成熟度\" visable=\"false\"></maturity>\r\n");
            stringbuilderDataModle.Append("        <belongsfield sourcelabel=\"相关领域\" visable=\"false\"></belongsfield>\r\n");
            stringbuilderDataModle.Append("        <stage sourcelabel=\"所处阶段\" visable=\"false\"></stage>\r\n");
            stringbuilderDataModle.Append("        <funds sourcelabel=\"资金\" visable=\"false\"></funds>\r\n");
            stringbuilderDataModle.Append("        <sample sourcelabel=\"样品\" visable=\"false\"></sample>\r\n");
            stringbuilderDataModle.Append("        <identify sourcelabel=\"鉴定\" visable=\"false\"></identify>\r\n");
            stringbuilderDataModle.Append("        <transfer sourcelabel=\"转让\" visable=\"false\"></transfer>\r\n");
            stringbuilderDataModle.Append("        <license sourcelabel=\"许可\" visable=\"false\"></license>\r\n");
            stringbuilderDataModle.Append("        <cooperation sourcelabel=\"合作\" visable=\"false\"></cooperation>\r\n");
            stringbuilderDataModle.Append("        <othertransfer sourcelabel=\"其他转化\" visable=\"false\"></othertransfer>\r\n");
            stringbuilderDataModle.Append("        <background sourcelabel=\"背景\" visable=\"false\"></background>\r\n");
            stringbuilderDataModle.Append("        <innovation sourcelabel=\"创新点\" visable=\"false\"></innovation>\r\n");
            stringbuilderDataModle.Append("        <implement sourcelabel=\"实施情况\" visable=\"false\"></implement>\r\n");
            stringbuilderDataModle.Append("        <outlook sourcelabel=\"前景\" visable=\"false\"></outlook>\r\n");
            stringbuilderDataModle.Append("        <benefit sourcelabel=\"收益\" visable=\"false\"></benefit>\r\n");
            stringbuilderDataModle.Append("        <applyfield sourcelabel=\"应用领域\" visable=\"false\"></applyfield>\r\n");
            stringbuilderDataModle.Append("        <needfunds sourcelabel=\"投入经费\" visable=\"false\"></needfunds>\r\n");
            stringbuilderDataModle.Append("        <begintime sourcelabel=\"开始时间\" visable=\"false\"></begintime>\r\n");
            stringbuilderDataModle.Append("        <endtime sourcelabel=\"结束时间\" visable=\"false\"></endtime>\r\n");
            stringbuilderDataModle.Append("        <planendtime sourcelabel=\"计划结束时间\" visable=\"false\"></planendtime>\r\n");
            stringbuilderDataModle.Append("        <effectivetime sourcelabel=\"有效期\" visable=\"false\"></effectivetime>\r\n");
            stringbuilderDataModle.Append("        <organize sourcelabel=\"机构企业\" visable=\"false\"></organize>\r\n");
            stringbuilderDataModle.Append("        <demandsummary sourcelabel=\"简要说明\" visable=\"false\"></demandsummary>\r\n");
            stringbuilderDataModle.Append("        <target sourcelabel=\"目标\" visable=\"false\"></target>\r\n");
            stringbuilderDataModle.Append("        <cooperationmode sourcelabel=\"合作方式\" visable=\"false\"></cooperationmode>\r\n");
            stringbuilderDataModle.Append("        <currentbase sourcelabel=\"现有基础\" visable=\"false\"></currentbase>\r\n");
            stringbuilderDataModle.Append("        <aboutfield sourcelabel=\"相关领域\" visable=\"false\"></aboutfield>\r\n");
            stringbuilderDataModle.Append("    </customcontrol>\r\n");
            stringbuilderDataModle.Append("</datalabel>");

            return stringbuilderDataModle.ToString();
        }
    }
}